#if !defined(AFX_STUINFO_H__43B7BB27_B203_44F6_B2CF_CFAB508E09E5__INCLUDED_)
#define AFX_STUINFO_H__43B7BB27_B203_44F6_B2CF_CFAB508E09E5__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// StuInfo.h : header file
//

/////////////////////////////////////////////////////////////////////////////
// CStuInfo dialog
#include "EditListCtrl.h"
#include "MyButton.h"

class CStuInfo : public CDialog
{
// Construction
public:
	CString Qparameter(_variant_t a);
	BOOL Init_list_stu(CString sql);
	void InitCombo();
	BOOL Init_list_stu();
	CStuInfo(CWnd* pParent = NULL);   // standard constructor
	CString sql_del;

// Dialog Data
	//{{AFX_DATA(CStuInfo)
	enum { IDD = IDD_StuInfo };
	CComboBox	m_com_stu;
	CEditListCtrl	m_stulist;
	CString	m_edit_stu;
	CString	m_edit_name;
	CXPButton	m_Ctn1;
	CXPButton	m_Ctn2;
	CXPButton	m_Ctn3;
	CXPButton	m_Ctn4;
	CXPButton	m_Ctn5;
	CString	m_edit_class;
	//}}AFX_DATA


// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CStuInfo)
	public:
	virtual BOOL PreTranslateMessage(MSG* pMsg);
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
	//}}AFX_VIRTUAL

// Implementation
protected:

	// Generated message map functions
	//{{AFX_MSG(CStuInfo)
	afx_msg void OnStureturn();
	afx_msg void OnRclickListStu(NMHDR* pNMHDR, LRESULT* pResult);
	afx_msg void OnStuAdd();
	afx_msg void Onstudel();
	afx_msg void Onstuquery();
	virtual BOOL OnInitDialog();
	afx_msg void OnStuDel();
	afx_msg void OnClickListStu(NMHDR* pNMHDR, LRESULT* pResult);
	afx_msg void OnStuQuery();
	afx_msg void OnStuSelect();
	afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
	afx_msg void OnChangeEDITstu();
	afx_msg void OnClose();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_STUINFO_H__43B7BB27_B203_44F6_B2CF_CFAB508E09E5__INCLUDED_)
